package com.sh.caryr.erp.entity.product;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 属性取值表
 * </p>
 *
 * @author milkeeper
 * @since 2017-11-28
 */
@TableName("erp_attribute")
@Data
@NoArgsConstructor
public class Attribute implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 逻辑id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 属性名称
     */
    @Excel(name = "属性名称")
    private String attributeName;
    /**
     * 属性值
     */
    @Excel(name = "属性值")
    private String attributeValue;

}
